//
//  ETBaseVC.h
//  OilUnion
//
//  Created by itte on 2016/11/10.
//  Copyright © 2016年 funmain. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSInteger, ETRefreshMethod){
    ETRefreshPullDown,
    ETRefreshPullUp
};

@interface FSBaseVC : UIViewController
// 显示该视图控制器的时候传入的参数
@property (nonatomic, strong) NSDictionary *params;


#pragma mark - push & pop & dismiss view controller
- (void)pushViewController:(NSString *)className;
- (void)pushViewController:(NSString *)className withParams:(NSDictionary *)paramDict;
-(void)presentViewcontroller:(NSString *)className animated:(BOOL)flag;
//返回上一级
- (void)popViewController;
//返回到根
- (void)popToRootViewController;

#pragma mark - 控制器的一些操作
-(void)initNavigationLeftButton;
-(void)backup;
-(void)loadCache;

@end
